<?php
/*
 * Created on Jan 24, 2010
 * Shopping Cart System
 * Owner: Phu Ha
 * To change the template for this generated file go to
 * Window - Preferences - PHPeclipse - PHP - Code Templates
 */
 
 
// Get the Root Application Path
$global_configure = realpath(dirname(__FILE__) . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR) . DIRECTORY_SEPARATOR;
$global_configure .= 'global' . DIRECTORY_SEPARATOR . 'includes' . DIRECTORY_SEPARATOR;


// Import Global Configuration
$global_configure .= 'configure.php';
define('GLOBAL_CONFIGURE', $global_configure);

require_once GLOBAL_CONFIGURE;




// insertRecord();
queryRecords();

$smarty->assign('name', 'Ned2');
$smarty->display('index.tpl');


?>
